﻿using System.Collections.Generic;
using System.Linq;

namespace Sidvall.Data
{
    public sealed class RuleSeverityCollection : System.Collections.ObjectModel.Collection<RuleSeverity>
    {
        #region Public Members

        #region AddRange

        public void AddRange(params RuleSeverity[] items)
        {
            AddRange(items.AsEnumerable());
        }
        public void AddRange(IEnumerable<RuleSeverity> items)
        {
            if (items == null)
                return;
            foreach (var item in items)
                Add(item);
        }

        #endregion

        #endregion
        #region Constructors

        public RuleSeverityCollection()
        {
        }

        #endregion
    }
}
